Keysight VISA.NET Help
ReadBinaryBlockOfInt16(Int16[],Int64,Int64) Method



An array of signed 16-bit integers allocated by the calling program.
The index in the output data array where the first element is stored.
The maximum number of elements to store in the output data array.
Read an array of signed 16-bit integers from the formatted I/O read buffer and store a maximum of count elements into data starting at index.
Syntax
'Declaration
 
Overloads Function ReadBinaryBlockOfInt16( _
   ByVal data() As Short, _
   ByVal index As Long, _
   ByVal count As Long _
) As Long
'Usage
 
Dim instance As IMessageBasedFormattedIO
Dim data() As Short
Dim index As Long
Dim count As Long
Dim value As Long
 
value = instance.ReadBinaryBlockOfInt16(data, index, count)
long ReadBinaryBlockOfInt16( 
   short[] data,
   long index,
   long count
)
int64 ReadBinaryBlockOfInt16( 
   array<short>^ data,
   int64 index,
   int64 count
) 

Parameters

data
An array of signed 16-bit integers allocated by the calling program.
index
The index in the output data array where the first element is stored.
count
The maximum number of elements to store in the output data array.

Return Value

The actual number of elements stored the output data array.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025